.duanzi {
    width: 90%;
    margin: 20px auto;
}

.duanzi ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.duanzi ul li {
    width: 300px;
    height: 300px;
    padding: 5px;
    border: 1px dashed blueviolet;
    margin: 20px 40px;
}

.duanzi ul li p {
    font-size: 20px;
    text-indent: 40px;
}

.duanzi ul li:hover {
    background: #eee;
}

.duanzi .mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.duanzi .model {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid red;
    z-index: 999;
    background-color: #eee;
}

.duanzi .model .back {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -10px;
    top: -10px;
    border: 2px solid red;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    padding: 5px;
    cursor: pointer;
}

.duanzi .model p {
    text-indent: 40px;
    font-size: 20px;
}